home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
028.dms
/
028.adf
/
Commands_List
/
Shell_Management
/
Prompt
< prev
next >
Wrap
Text File
|
1992-02-26
|
712b
|
26 lines
Command Name : Prompt
Function : Change the CLI prompt
Arguments : [<prompt>]
Location : Kickstart ROM
This command lets you personalize your Shell by changing the prompt. You
can change the prompt line in the file S:Shell-startup so your promp always
changes. It is best to enclose the text in double quotes (") to make sure
it is all taken in. There are some special commands, %N shows the Shell
number, %S shows the current directory (the default) and %R shows the last
return code.
Examples
Prompt "Mike :^)"
Changes the prompt to my name and a nice Smiley.
Prompt "A Prompt.%S"
Changes the prompt to the text "A Prompt." then appends the current
directory path to that.